package com.small.nacos.config.server.service.dump.task;

import com.small.nacos.common.task.AbstractDelayTask;

public class DumpTask extends AbstractDelayTask {

    final String groupKey;

    final long lastModified;

    public DumpTask(String groupKey, long lastModified) {
        this.groupKey = groupKey;
        this.lastModified = lastModified;
        // retry interval: 1s
        setTaskInterval(1000L);
    }

    @Override
    public void merge(AbstractDelayTask abstractDelayTask) {

    }

    public String getGroupKey() {
        return groupKey;
    }

    public long getLastModified() {
        return lastModified;
    }
}
